package cn.tedu._04mybatis.mapper;

import cn.tedu._04mybatis.pojo.entity.WeiBo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface WeiBoMapper {
    @Insert("INSERT INTO weibo(content,created,user_id)values(#{content},#{created},#{userId})")
    int insertWeibo(WeiBo weiBo);
}
